When the results of the 2011 census were published, one stark finding stood out: more households had mobile phones than toilets in India.