Consumer companies in India are struggling with declining urban middle-class spending due to inflation and unemployment.