Basically a CBZ file is a renamed ZIP file and a CBR file is a renamed RAR file.
Simply use your favourite archive creating utility (7Zip, WinZip, WinWar, etc..) to bundle the image files into either a ZIP file or a RAR file, then rename the archive file and change its file extension to either CBZ or CBR respectively.