How should I stay in touch with the professor with whom I have arranged an internship?
Well, you don't really want to start the internship now, on a remote basis. So just send an email once every three months or so with some news about yourself and your studies.

If you want to write a bit more often, that's okay too.  I wouldn't write more than once a month, though.