The two people will (usually) be the same distance from the camera, so focus on either of their eyes. You can always stop down the lens a little, f/8 would give you more depth of field. If using the very lowest aperture (biggest hole), then your depth of field will be tiny. This is when you'll get problems like this.