The incident happened as passengers were waiting to board trains to Prayagraj city, where Maha Kumbh festival is being held