Officials said the coaches had been already stationed at the platform and awaiting the attachment of the engine.
The engine driver had not slowed down the engine while driving in reverse for attachment to the coaches,and banged against the coaches, officials said.
No one was injured in the accident, they added.