Set the instant pot to 'Sauté'. Add mustard seeds, cumin seeds and asafetida.
Add the curry leaves and let the seeds pop.
Then add diced onions, ginger paste and chili paste. Mix and let the onions cook till translucent.
Next add diced tomatoes and mix well.
Let the tomatoes cook till soft.
Add the dried spices i.e. red chili powder, garam masala powder, turmeric powder and dhania jeera powder. Mix well and let the spices coat in oil.
Then add the soaked black-eyed peas, water, salt and sugar.
Mix well and close the instant pot. Set mode to 'pressure cook' and time to 12 minutes. Once the cooking process is done, let the pressure release naturally. Then open the cover.
Mix well and add cilantro and lemon juice.
Serve with your choice of rice or roti.