New Delhi (CNN) Prime Minister Narendra Modi ordered a "complete" lockdown for India's 1.3 billion people on Tuesday, warning that "many families will be destroyed forever" if the country didn't get to grips with its coronavirus outbreak in the next three weeks.

Modi said the lockdown would start at midnight local time, would last for a minimum of 21 days, and would apply to all of India's 36 states and territories.

"You have seen the worldwide situations arising from the coronavirus pandemic in the news. You have also seen how the most powerful nations have become helpless in the face of this pandemic," Modi said in a live televised address to the nation on Tuesday evening ahead of the deadline.

India is the world's second most populous country and the fifth biggest economy, but so far, it has appeared to avoid the full hit of the pandemic. The country has confirmed 519 coronavirus cases , including 10 deaths and 39 patients who have been cured, according to the Ministry of Health.

A number of Indian states have ordered lockdowns in the past few days, in an attempt to stop the virus from spreading. International borders have been shut to most travelers coming from the Europe.

A protest against the country's Citizenship Amendment Act at Delhi's Shaheen Bagh was cleared by the police on Tuesday after the government prohibited all public gatherings in the city. Hundreds of women have been protesting at the site for months , expressing their solidarity with protesters who have been allegedly assaulted by police.

Modi said that the measures are necessary to protect the population, and referred to experience from other countries.

"What the experts are saying is that social distancing is the only option to combat coronavirus. That is to remain apart from each other and stay confined to within your homes. There is no other way to remain safe from coronavirus. If we have to stop the spread, we have to break the cycle of infection," he said.

"From 12 midnight today, the entire country will go under a complete lockdown to save India and for every Indian, there will be a total ban on venturing out of your homes. Therefore, I request you to remain wherever you are in this country," Modi added.

Only essential services will be operational. These include water, electricity, health services, fire services, groceries and municipal services.

All shops, commercial establishments, factories, workshops, offices, markets and places of worship will be closed and interstate buses and metros will be suspended. Construction activity will also be on a halt during this period.

Modi said if the outbreak was not dealt with properly it could set the country back decades.

"According to health experts, a minimum of 21 days is most crucial to break the cycle of infection. If we are not able to manage this pandemic in the next 21 days, the country and your family will be setback by 21 years. If we are not able to manage the next 21 days, then many families will be destroyed forever," Modi said.

To soften the economic blow from the shutdown, the Indian government announced a number of measures on Tuesday.

Deadlines to file tax returns have been extended by three months, charges on minimum bank balances have been waived and no fees will be charged for using other banks' ATMs.

The threshold for invoking insolvency has been raised to $131,000 from $1,300, India's Finance Minister Nirmala Sitharaman said at a news conference earlier on Tuesday.

Separately, India's Labor Ministry has advised all territories to to help construction workers who are out of work because of the outbreak. The vast majority of the country's construction workers are considered as informal labor and earn their livelihood through daily wages. Around 35 million construction workers across the country are registered with construction welfare boards.