South Wales Police has confirmed that two 17-year-old boys from Wales have been detained in Thailand. Police have launched an investigation into the "circumstances" surrounding their journey.