Don't go into panic mode about viruses - they're actually pretty rare on iOS! After two years it's totally normal for the battery to have degraded, especially if you charge it often or keep it warm all the time - lithium-ion batteries naturally lose capacity over time. Try checking which apps are draining the most power in settings (Settings > Battery > Battery Usage), but if it really dies in a couple of hours despite nothing weird going on, it's probably time to get it replaced. It's not a disaster, anyway - a battery replacement costs a decent amount but it's not a complicated job.