Heavy rains and flooding have left at least 40,000 properties without electricity in and around Lancashire and Cumbria counties in northwestern England.