Indian Prime Minister Narendra Modi said on Tuesday the government would impose a nationwide lockdown from midnight for 21 days to stem the spread of the coronavirus.