Taiwan says vital undersea cables close to China's coast have been disconnected, affecting internet services to the islands where around 14,000 people live.