You will need routing marks by firewall mangle.Like:
Address lists:
/ip firewall address-list add address-list=CableModem1 address=192.168.1.0/24
/ip firewall address-list add address-list=CableModem2 address=192.168.2.0/24
Interfaces of your two Uplinks for cable modems:
/ip address
add address=1.1.1.2/29 interface=ether1
add address=2.2.2.2/29 interface=ether2
NAT Masquerade with your Uplinks:
/ip firewall nat
add action=masquerade chain=srcnat src-address-list=CableModem1 out-interface=ether1
add action=masquerade chain=srcnat src-address-list=CableModem2 out-interface=ether2
Marking your input in your Cable modem 1 and output for your LAN1 from your Cable modem 1
/ip firewall mangle
add action=mark-connection chain=input in-interface=ether1 new-connection-mark=Input/ISP1
add action=mark-routing chain=output connection-mark=Input/ISP1 new-routing-mark=ISP1 src-address-list=CableModem1 passthrough=no
Marking your input in your Cable modem 2 and output for your LAN2 from your Cable modem 2
/ip firewall mangle
add action=mark-connection chain=input in-interface=ether2 new-connection-mark=Input/ISP2
add action=mark-routing chain=output connection-mark=Input/ISP2 new-routing-mark=ISP2 src-address-list=CableModem2 passthrough=no
Route rule, in order to look the routes, marked with routing mark ISP1 only in routing table ISP1
/ip route rule
add action=lookup-only-in-table routing-mark=ISP1 table=ISP1
Route rule, in order to look the routes, marked with routing mark ISP2 only in routing table ISP2
/ip route rule
add action=lookup-only-in-table routing-mark=ISP2 table=ISP2
Default routes, marked with name ISP1 and ISP2.
/ip route
add distance=1 gateway=1.1.1.1 routing-mark=ISP1
add distance=1 gateway=2.2.2.1 routing-mark=ISP2
Read more about mangle, marking packets and routes:
https://wiki.mikrotik.com/wiki/Manual%3AIP/Firewall/Mangle