The family was travelling to Lucknow from Shravasti when the accident took place.