Soak the kidney beans in water for 8 hours. Drain and rinse.
Add the oil to the Instant Pot and select the sauté setting.
Add in the cumin seeds and cook while stirring for 1-2 minutes. Add the onion and ginger paste and cook for 3-5 minutes. If you are using the optional red chile peppe, add that now.
Cancel the sauté setting and add the drained kidney beans, tomatoes, water, coriander, garam masala, salt, chili powder, and turmeric. Stir well and put lid on. Set the nozzle on the lid to seal, select high pressure, and set the time to 30 minutes. When the timer goes off, let the Instant Pot naturally release.
Remove the bay leaves.
Using an immersion blender, blend about 1-2 cups of the curry to thicken it.
Add the lime juice and top with cilantro to serve.