No, it is not necessary to learn Nepali language to do the Everest base camp trek in Nepal. Many people here understand the basic English and also you will have the professional guide who is fluent at speaking English. However, if you want to learn Nepali language you can learn some basic language to speak with the locals.