Cook pasta according to package directions. Reserve 1/4 cup of the pasta water. In a large pan, melt butter over medium heat. Then add onion and garlic and cook until soft. Add pasta, peas, and reserved pasta water to the pan. Squeeze juice from 1/2 lemon over the pasta and combine. Turn off the heat and add lemon zest.