I have finally been able to form a habit that I wanted for more than a few decades and the book which helped me finally get it was "Awaken the Giant Within" by Anthony Robbins. This was my third or so reading of the book and this time it clicked! It's a bit dense book which seems to have aged well (and you may have to look past some of marketing for his other events).
"Tiny Habits" by BJ Fogg is another one which I find very useful. Just the basic idea of having tiny/baby steps to take is a powerful one.
"Loop Habit Tracker" app is a great app to keep track of your habits especially the ones where you want to record yes/no responses. It's free app available on android (I am still looking for something similar for iPhone for my wife!).