Typhoon Krathon has killed at least two people in Taiwan and knocked out power and water supply for tens of thousands of households.