At least 30 people have been killed and many more were injured in a stampede at the world’s largest religious gathering in India, police said.