Here's why:
* Proper nouns are specific names of people, places, or things.
* River Thames is the specific name of a particular river.
While "river" is a common noun, the name "Thames" is what makes the entire phrase a proper noun.
It's important to capitalize proper nouns, so you would write it as "River Thames".