At least five people died and 30 were injured on Wednesday when a passenger train derailed in the north Indian state of Uttar Pradesh, media reported.