If you are replacing the ammeter with a voltmeter, then put both of the wires that were on the ammeter onto the positive terminal of the voltmeter. Then add a wire from the negative terminal of the voltmeter to the black ground. Probably, the same black ground as the other gauges will do.
The best solution would be to take the wire from the voltmeter's negative terminal back to the battery negative or to the engine block. There is a voltage drop on the ground wire used by the other gauges, and so the voltmeter might read a little low. Mine does.
1975 32' Flybridge Sedan, twin Perkins 6-354 diesels, 1:1.53 velvetdrives, 16 X 19 props. Merritt Island, Florida