In InDesign, go to File > Export > PDF and select Create Separate PDF Files. Under the Suffix section, choose what to add to each file name (for example, page numbers).