Heat the oil in a medium frying pan over a medium heat, add the onion and red pepper and fry gently for 10 minutes until softened.
Add the spices and fry for a minute more, then add the tomatoes, beans and 100ml water. Season with salt and pepper and cook for a further 10 minutes.
Make 2 hollows in the mixture and crack an egg into each. Cover and cook for 2–3 minutes until the whites are set and the yolks are still soft.
Remove from the heat and serve topped with the avocado and scattered with the coriander leaves, with warm tortillas for scooping.