"Two books is enough"
with regard to principles of the agreement between the subject and the verb, there is one called "notional agreement", meaning if the speaker identifies what he utters as "one", or "a whole", or "two parts", then the form of the verb changes accordingly to reflect "the notion".