Both are correct, they have the opposite meaning to each other.
"The room need not be cleaned" sounds very formal or old fashioned to me, but it is perfectly OK to use. It just might sound a little bit too formal in the wrong setting.
"The room does not need to be cleaned" is another option.