In the first case (Here comes the bus), here serves to point out that the bus is now in the field of view and is traveling in a direction toward the speaker, i.e., it means 'toward me'.
Here comes the bus is like
Look. The bus is coming [toward me/us. // this way.]
In the second case (The bus is here), here means 'near me'.