Yes eyeglass cleaner will work good to clean a computer screen or TV screen.
Make sure to use a lint free microfiber cloth for cleaning the screen along with the eyeglass cleaner to keep from leaving lint or other things on your computer or TV screen.
Another thing that also works to clean a computer or TV screens is Windex or plain soap and water.