Heavy rain and floods are hitting parts of the US east coast, causing flight cancellations and leaving drivers stranded in cities including New York.