The Didcot, Newbury and Southampton Railway under the ownership of the GWR, was well used during WW2. There are some details on the Wikipedia page.
Christian Wolmar had a book out called 'Engines of War' which was about railways being used in many wars, but this wasn't WW2 specific so may be...