Railway officials say at least 32 people were injured after eight coaches of a passenger train derailed in northern India early Thursday.