Prepare 0.1M KH2PO4 and 0.1M K2HPO4 then using a pH meter and magnetic stirring add the K2HPO4 solution to the KH2PO4 until the desired pH. As pK of the second acidic function of phosphoric acid is around 6.8 (ie. below the desired pH7) the added volume of K2HPO4 should be larger but close to the one of KH2PO4 (pH should be pK if both volumes are identical).