Turn your Instant Pot to Sauté (high) and heat the oil. When it's hot, add the cumin or mustard seeds and let them sputter like popcorn.
Add in onions, ginger and garlic and sauté for 2 minutes, until the onion is soft and translucent.
Add all the other ingredients (except cilantro and coconut) and cook under High Pressure for 4 minutes, and quickly release remaining pressure.
Garnish with cilantro and fresh coconut if you are using.
Stovetop
In a saucepan on the stovetop, add and heat the oil. When it's hot, add the cumin or mustard seeds and let them sputter like popcorn.
Add in onions, ginger and garlic and sauté for 2 minutes, until the onion is soft and translucent.
Add all the other ingredients (except cilantro and coconut), add 1/2 cup of water and turn down the heat to medium. Cook 10-15 minutes until the beans are cooked through.
Garnish with cilantro and fresh coconut if you are using.