Write the two modules that you want to have connected to the two sets of pins. Then write another module that contains instances of the first two modules and wires them both to the FPGA pins. When you finally put the first two modules onto different FPGAs, they won't need any changes. In the meantime, they will run fine on a single FPGA.
Is this what you are after?