It is possible to include them both in the same application which will save you some money initially in filing fees. However, if the patent examiner believes they are distinct inventions they will ask that you choose one of the inventions for examination. You will then have the opportunity to file a spin-off application called a "divisional" patent application focusing on the second invention.