Amit Gupta, a senior employee at Tech Mahindra, has been detained in Qatar for three months on unverified data theft charges.