In LPC2378, is their any option for the loop back of the transmit and receive for I2C to test the user software like the one in 7026 microcontroller?
See the Datasheet (and/or User Manual).
This has nothing to do with Keil!