This refers to the Bohr model of the hydrogen atom. The potential energy of the electron is taken to be zero at infinity. This means that the potential energy must become negative as the electron gets closer to the hydrogen atom. But kinetic energy is always positive and according to this model, the potential energy of the ground state is $-27.2 \ eV$. The kinetic energy is $+13.6 \ eV$, so when we add the two together the total energy is $-13.6 \ eV$. In other words
$$2T = - V$$
(In the case of any inverse square force law, this link between kinetic energy and potential energy always holds, and is called the Virial Theorem ).
The total energy is negative because we have to put in energy to liberate the electron. Specifically, we have to put in $+13.6 \ eV$ which is the well known ionisation energy of the hydrogen atom. And because the ground state has an energy of $-13.6 \ eV$, when we put in $+13.6 \ eV$ gives a total energy of zero, which is also consistent with what was stated earlier that the electron has zero energy at infinity or when it’s completely liberated from the atom.