Mahindra Satyam to invest $240 mn globally on infrastructure