Its an acutal book the game is based on it. Check reviews out for it you can see it is widely renowned as being a great book. I found it on amazon for £7 though the sequel is seemingly impossible to find in ENglish.
The second game is not based on the second book, however, the second book, Metro 2034, has been translated from the German version into English by a dedicated fan (160hours work) and offered free