"Keep" is grammatical, but the content of the sentence is rather formal and academic, and so the more formal and academic word "retain" would be a better choice here. )
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.