Vice president Hamid Ansari also deeply condoled the death of Kumbh pilgrims and wished speedy recovery for the injured.
The Prime Minister directed railway ministry to provide all necessary assistance to the affected persons and said the central government will extend all possible help to the state government in relief operations.
"I am deeply shocked to learn of the unfortunate incident at the Allahabad Railway station today, in which precious lives have been lost and many pilgrims to Kumbh Mela among other people have been injured," he said in a statement.
"I send my heartfelt condolences to the members of the bereaved families and wish those injured a speedy recovery. I have issued instructions to ministry of railways to provide all necessary assistance to the affected persons," Singh said.