Combine 1 cup of flour, instant yeast, sugar, and salt in a large bowl. Once combined, add olive oil and water and stir well or use a mixer for about 1-2 minutes.
Carefully add the other cup of flour gradually while stirring until the dough begins to become a ball. Flour your hands and roll dough into a ball, place in a bowl and cover for 30 minutes until it has doubled in size.
While the dough is rising, slice the onion and saute for about 5-6 minutes on medium heat with a dash of olive oil and ½ tsp of sugar. Cook until golden brown and set aside.
Once dough has risen, you can use your hands to deflate it and then put it on a floured surface and kneed for about 2 minutes until soft.
Roll out the dough into either 1 or 2 pizzas. Shape doesn't necessarily matter unless you care about aesthetics.