Cleaning the keyboard is necessary no matter it is detachable or not. Most of the time, if there is too much dirt and debris stuck under the keys or by the sides, the keys might not work properly. All you can do is get a perfect keyboard brush and clean off the dirt.