The incident took place at Gandhinagar railway crossing.
The deceased have been identified as Paramjeet Singh and his wife Narender Kaur (both in late 30's), their two sons aged 8 and 12, and five-year-old daughter, police said.
The cause of the suicide is not yet known.