A man who held his daughter captive for 24 years and fathered her seven children had warned his captives that they would be gassed if they tried to escape , a spokesman for federal investigators said .