In a mixing bowl, whisk together the kecap manis, soy sauce, salt, and black pepper to make the sauce.
Heat the vegetable oil in a wok or large skillet over high heat. Add the chopped onion, minced garlic, and minced chili pepper. Stir-fry for 1-2 minutes, until the onion is translucent.
Add the diced chicken to the skillet and stir-fry for 3-4 minutes, until the chicken is cooked through.
Add the diced carrots and frozen peas to the skillet. Stir-fry for another 2-3 minutes, until the vegetables are tender.
Add the cooked rice to the skillet, breaking up any clumps with a wooden spoon or spatula. Pour the sauce over the rice and stir everything together until the rice is evenly coated.
Stir-fry the nasi goreng for 3-5 minutes, until everything is heated through and the rice is lightly browned.
Serve the Nasi Goreng hot, with a fried egg on top of each portion, if desired.
Notes
Note: Nasi goreng can be stored in the fridge for up to 3 days. To reheat, stir-fry the nasi goreng in a skillet over medium-high heat for 5-7 minutes, until heated through.