The city of Montreal has declared a state of emergency due to rising floodwaters in numerous boroughs.