If you double the mass of both masses, the force between them will be four times greater. This is because the force between two objects is directly proportional to the product of their masses. So if you double both masses, you are multiplying the product of the masses by four, which means that the force will be four times greater.