Majesco to acquire 51% stake in Pune-based K2V2 for Rs 40 cr