Nestle has confirmed that production at two of its factories in Thailand has stopped, as a result of floods that hit the country late last month.