If you hold Ctrl, you can select both at the same time.
To manually turn on/off manufactories from any planet you are on, you can open the quick-button list for them at the bottom of the screen, and then hold Shift while clicking them. This also works for reactors, incidentally, so that you can manage all your reactors and/or manufactories from any point in the galaxy.