A flash flood emergency was declared for the first time in New York City as subway stations and streets became flooded with the remnants of Hurricane Ida overnight.