Two workers died and one was hospitalised after inhaling toxic gas while cleaning a chemical pit at a company site in Krabi.