Northern services between Lancaster and Barrow are expected to be disrupted until at least Friday after heavy rain caused flooding.