India's top court has put the spotlight on unsafe footpaths and the country's forgotten pedestrians.