Turn Instant Pot to Saute(More) mode. Once the 'hot' sign displays, add ghee, cumin seeds, and turmeric. Add curry leaves, ginger, garlic, and onions. Mix well and cook covered with the glass lid on for 2 minutes.
Give a quick stir and then add tomatoes. Mix well. Add red chili powder, salt, and garam masala.
Add lentils, rice, and 3 cups of water. Give a quick stir.
Close Instant Pot with pressure valve to sealing. Set Instant Pot to Manual(Hi) for 6 minutes followed by Natural Pressure Release.