Via hands, viruses such as the novel coronavirus spread quickly. Many people also (unconsciously) often touch their nose or mouth with their hands. By not shaking hands anymore, you reduce the chance of getting infected and infecting others with the novel coronavirus.

Source: RIVM