You can make a home made mix of Alcohol and water to duplicate the effectiveness of most hand sanitizers.
A mixture of equal parts of Alcohol and water are recommended. The other ingredients i n hand sanitizers are not proven to be more effective is killing microbes.
This can be a polemic topic. Some have very strong opinions about personal hygiene and the use of hand sanitizers.
If it really matters, like in an environment where there are extreme concerns **, you must use a method know to eliminate microbial activity. Namely, a dry oven used to sterilize surgical equipment and available from medical supplies stores. After removing mouse and keyboard from the oven, wait for one hour before putting power to the devices.
** The burn care unit in some hospitals.