It isn't singular and plural exactly. It's the infinitive in the first sentence, and the third person singular in the second. In the first sentence the main verb is does , with a secondary verb keep .
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.