Maybe is one word, and a synonym of perhaps and possibly.
May be is two words. Think of it as a modal verb that talks about something that could happen or might exist.
- He hasn’t answered, but it maybe that he didn’t get my letter.
- He may be in school this week.