How can I show login popup when user clicks on download button
You can try using Popup anything on click plugin. It enables you to add highly customizable popup windows. You can insert any type of content into your popup, including HTML codes, image, shortcodes etc.