Israel has released two Palestinian bookstore owners after detaining them from their store in Jerusalem on Sunday.