With millions of migrant labourers and homeless people left without income, officials are struggling to help.