Yes, while visiting religious places in India, it is advised to dress modestly. Men and women are expected to cover their shoulders and knees.