Two men have been detained for questioning over a series of blasts that hit the upscale seaside resort of Hua Hin in southern Thailand, police said.