Tadepalligudem Railway police are investigating whether the family had committed suicide or had accidentally died.