extended profit.

We sell 2 years maintenance plan for our software, How can I enter that so our profit will be spread in 24 months?