Look at the Royal Thai Embassy for London website to see the requirements for a Tourist Visa as you need one to enter Thailand with a Nepalese passport. You can then apply online
You must leave with the passport that has your entry stamp in it if you leave at a land border I believe so it needs to be transferred. At an airport you can present both passports.