At least 30 people have died following a stampede at the world’s largest religious gathering in India, authorities said.