Rinse the rice 3-4 times and drain. Add rice, corn, 1.5 cups of water and salt to the instant pot. Press the RICE mode in Instant Pot and cook. Release the pressure naturally. Open the lid, fluff the rice gently.Transfer to a tray and let it cool.
Give a quick rinse and wipe Instant pot stainless steel inner pot, and start the instant pot in Saute mode.
Add oil to the inner pot once hot. To the hot oil, add paneer pieces and fry till golden brown. Remove from heat and drain on a klitchen towel.
To the same oil(add more if required) add bay leaf, cloves, cinnamon, and cardamom. Saute for a few seconds.
Add diced onion and saute till brown. Add green chillies if using.
Mix in garam masala and stir for 2-3 minutes..
Add cooked rice & corn and stir to combine
Add the paneer peices and mix again.
Remove from heat.
Serve hot garnished with cilantro and lime wedges.