The boys, both studying at a private college, noticed the train approaching and attempted to click pictures using a mobile phone. However, they were knocked down, they said.
Passers-by rushed the injured students to hospital but one of them succumbed to his injuries there, police added.