In this paper, a shared-aperture dual-frequency multiplexing holographic metasurface for beamforming is designed. Firstly, a novel holographic unit with two topology structures is proposed, which allows one frequency corresponds to one topology structure in the same aperture. The surface impedance of a certain frequency can be adjusted by changing the corresponding size, and both sizes only affect the corresponding frequency, while the influence on the other frequency can be ignored. Because of the natural isolation between different frequencies, the holographic metasurface can be used in simultaneous wireless information and power transfer (SWIPT) systems. To verify the unit's performance, we design a holographic metasurface working at 10GHz and 5.8GHz, which generate linear polarization directional beams with vertical direction, and the results show a good performance.