Easy enough, especially if you can easily travel to Bangkok or Chiang Mai to submit the applications and pick up the new passports.
Fill in forms for each, photos and proof of address in Thailand, colour copies of every page of the old passports, then submit at the HMPO office at VFS in Bangkok or Chiang Mai.
All the links are above.