Set instant pot
in saute mode. When hot, add about 1 tablespoon vegetable oil. Add both eggs and scramble until just cooked, transfer to a plate. (You don't have to continuously stir eggs. Stir 'em every 20 seconds or so, until cooked. This will yield larger pieces of scrambled eggs)
Add frozen peas, cook until it is thawed and all the water evaporates (try scraping the pan to remove any eggs sticking to the bottom). Transfer peas to the plate.
Add another tablespoon of oil, place half the shrimp in a single layer, turn over when it starts to get pale pink. Turn over and cook for a few seconds and then transfer to the plate. Repeat process to cook remaining shrimp. (Shrimp will be only 3/4th cooked at this point)