Soak the basmati rice in cold water for 15 minutes. Drain, rinse and set aside.
Press the sauté button. Add the oil/ghee to the pot. When it melts, add the whole spices and stir. Once they begin to sizzle add the onions. Stir-fry for 7-8 minutes or until the onions turn golden brown.
Add the garlic, ginger, chicken and spices. Stir-fry for 5 minutes or until most of the outside of the chicken is no longer pink.
Add the rice and water to the pot and mix well.
Secure the lid, close the pressure valve and cook for 6 minutes at high pressure.
Naturally release pressure for 10 minutes. Open the valve to release any remaining pressure.
Discard the whole spices if desired, sprinkle with cilantro and serve.