Hello pooja singh
Are you using the LPCOpen Libraries? There you can find an example of the i2c module to be used as a reference. You need to be sure that the i2c module is well initialized in order to transfer/receive successfully through the bus.
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar