As a scrum master, you require knowledge of the scrum framework. That means you don't need to know how to code, but having working knowledge of development processes doesn't hurt. Technical expertise is not necessary since you facilitate a collaborative work environment.