Thames Water has said it is seeking up to £3 billion in emergency loans in order to stay afloat until at least October next year.