Another way to say "drinking coffee keeps you awake" is "You can stay awake by drinking coffee."