You can heat two things in a microwave at the same time, but if they’re packaged items you can expect to do a lot more stirring. You’re trying to get the same amount of power to do twice as much work, after all, and so it’s going to take longer. For non-packaged food, just follow the instructions that come with the produce. Increase the cooking time accordingly.