It's all covered here if you want to do it yourself. Much easier to do if you are in the UK yourself, or have someone there to do it for you. The Legalisation Office in Milton Keynes, will forward the legalised document on to the Thai Embassy in London for you, if you have a pre-paid envelope. It took about 14 days to get mine done.
****************************************************************