Rinse the rice under cold water until the water runs clear.
In a pot, heat olive oil over medium heat.
Sauté diced onion for 3-4 minutes until translucent.
Add minced garlic and sauté for another minute.
Stir in the rice and cook for 2 minutes, mixing well.
Pour in vegetable broth or water; bring to a boil.
Lower the heat, cover, and simmer for 18-20 minutes until rice is cooked.
In another pot, heat the black beans over medium heat.
Season beans with cumin, salt, and pepper; simmer until warm.
Fluff the rice with a fork and serve topped with black beans, garnished with cilantro.