Unless you know the right way to 'wai' (sounds like "why"), the appropriate hand position and to whom, it is often best just to acknowlege a wai with a smile and a nod.
It is just not done to wai children, service persons etc even if they wai you first. You may though wai an elderly Thai you're introduced to, or even a monk, but the general rule is refrain.